<template>
  <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
    <el-tab-pane label="后台管理系统" name="first">

      <el-button type="primary" style="margin-top: 20px" @click="downloadRuoyi">保存</el-button>

    </el-tab-pane>


    <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
    <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
    <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>


  </el-tabs>
</template>
<script>
export default {
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },

    downloadRuoyi(){
      alert('123')
    }

  }
};
</script>
